/****************************************************************************
 *
 * Copyright (C) 2003-2008 Los Alamos National Security, LLC
 *                         Packet Analytics Corporation
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License Version 2 as
 * published by the Free Software Foundation.  You may not use, modify or
 * distribute this program under any other version of the GNU General
 * Public License.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 *
 ****************************************************************************/
package nfse.gui.config;

import com.google.gwt.user.client.rpc.IsSerializable;

/*******************************************************************************
 * This class is used to pass record processing statistics from
 * metadata.Daily_Record_Counts to the web interface.
 */
public class DailyRecordCountInfo implements IsSerializable {

    /***************************************************************************
     * An array of DailyRecordCount objects for this time period.
     */
    public DailyRecordCount[] dailyRecordCounts = null;

    /***************************************************************************
     * The number of days this instance provides information about.
     */
    public int numDays = -1;

    /***************************************************************************
     * The number of records per day that can be collected by Net/FSE.
     */
    public long recordThreshold = -1;

    /***************************************************************************
     * Total number of records processed for this time period, not including
     * dropped records.
     */
    public long totalRecords = -1;

    /***************************************************************************
     * Total number of records dropped due to the record threshold being
     * exceeded for this time period.
     */
    public long recordsDropped = -1;
    
    /*************
     * The number of hours that the system did not collect data.
     */
    public String timeNotCollecting = "";

    /***************************************************************************
     * Empty constructor to satisfy IsSerializable criteria.
     */
    public DailyRecordCountInfo() {

    }

}
